package personnal.blogprinter;

import personnal.blogprinter.data.Settings;

public final class LaunchTestMain {

    private LaunchTestMain() {
    }

    public static void main(String[] args) throws Exception {
        Settings settings = new Settings();
        settings.setUrl("http://mektoub.free.fr/blog/xmlrpc.php");
        settings.setUsername("admin");
        settings.setPassword("bx9mjj7n");
        settings.setFromMonth("2005-08");
        settings.setToMonth("2006-01");
        settings.setProxyHost("webcache.groupe.generali.fr");
        settings.setProxyPort(3128);
        BlogPrinter blogExtractor = new SimpleBlogPrinter(settings);
        blogExtractor.extract();
    }
}
